package com.dormitory.dao;

import com.dormitory.model.Room;
import java.util.List;

public interface RoomDao {
    boolean save(Room room);
    boolean update(Room room);
    boolean delete(Integer roomId);
    Room findById(Integer roomId);
    List<Room> findAll();
    List<Room> findByBuildingId(Integer buildingId);
    List<Room> findByCondition(String condition);
} 